<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wb="http://open.weibo.com/wb">
<head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no">
    <title><?php echo $_GET['words'];?>-快用苹果助手</title>
    <!-- Le styles -->
    <link href="/styles/izhu/css/pub.css?20130801" media="screen" rel="stylesheet" type="text/css">
    <link href="/styles/izhu/css/index.css?20130801" media="screen" rel="stylesheet" type="text/css">
    <link href="/styles/izhu/css/img.css?20130801" media="screen" rel="stylesheet" type="text/css">
    <link href="/styles/izhu/css/quit.css?20130801" media="screen" rel="stylesheet" type="text/css">
    <link href="/styles/izhu/css/pagination.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
    <!-- Scripts -->


    <script type="text/javascript" src="/styles/izhu/js/jquery.js"></script>
    <script type="text/javascript" src="/styles/izhu/js/plugins/livequery/jquery.livequery.js"></script>
    <script type="text/javascript" src="/styles/izhu/js/lazyload.js?20130801"></script>
    <script type="text/javascript" src="/styles/izhu/js/common.js?20130801"></script>
    <script type="text/javascript" src="/styles/izhu/js/iscroll.js"></script>
    <script type="text/javascript" src="/styles/izhu/js/jquery.touchslider.js"></script>
    <script type="text/javascript" src="/styles/izhu/js/plugins/jtemplates/jquery-jtemplates.js"></script>
    <script type="text/javascript" src="/styles/izhu/js/customs/infinitescroll/jquery.infinitescroll.js?20130801"></script>

</head>
<body>
<script type="text/javascript">
    (function(){
        var useragent=window.navigator.userAgent.toLowerCase();
        if(useragent.indexOf('opera')<0){
            var gbkurl=window.location;
            //如果是第一次访问,跳转页面
            //if(!getCookie("ky_ipad_first")){
            if(0){
                window.location.href="/channel.html?gbkurl="+gbkurl;
            }
        }
    })();
</script>
<div class="top">
    <div class="cetr">
        <div class="logo fl">
            <a href="/ipad_index.php"><img src="/styles/izhu/img/logo.png?1" /></a>
        </div>
        <div class="search fl inline">
            <form id="form1" method="get" action="/ipad_index.php">
                <div class="search_inner">
                    <input type="hidden" name="act" value="search" />
                    <input name="words" type="text" class="s_inpt curr" defaultData="" value="<?php echo $_GET['words'];?>" /><!--value值即为默认搜索的东西-->
                    <input type="submit" class="s_btn" value="" />
                </div>
            </form>
        </div>
        <div class="clr"></div>
    </div>
    <div class="top_btt"></div>
</div>
<div class="bl10"></div>



<div class="banner">
    <div class="banner-inner">
        <ul>
            <li><a href="/ipad_index.php">首页</a></li>
            <li><a href="/ipad_index.php?act=app_list&type=app">应用</a></li>
            <li><a href="/ipad_index.php?act=app_list&type=game">游戏</a></li>
            <li><a href="/ipad_index.php?act=rank&type=app">排行榜</a></li>
            <li class="curr"><a href="javascript:void(0);">搜索</a></li>
        </ul>
        <div class="clr"></div>
    </div>
</div>

<div class="bl10"></div>

<div class="list cetr">
<div class="list_title">
    <div class="list_t">
        <a class="hot_tit fl"><?php echo $_GET['words'];?></a>
        <div class="showPattern fr mr17">

        </div>
        <div class="clr"></div>
    </div>
    <div class="list_c">
        <div class="clr"></div>
    </div>
</div>
<div class="bl10"></div>
<div class="appBox">
    <?php if(empty($app_list['list'])){?>
        <div class="categra_c search_none">
            <p>找不到相关应用，请缩短关键字或者换个关键字试试看</p>
            <div class="clr"></div>
        </div>
    <?php }else{?>
        <div class="categra_c search_container bg_ff">
        <ul class="appList_ul">
        <?php foreach($app_list['list'] as $k=>$v){?>
            <li>
                <a class="fl" target="_blank" href="/ipad_index.php?act=app_info&id=<?php echo $v['ID'];?>"><img alt="无需越狱下载应用" src="<?php echo $v['ICON'];?>" onerror="imgErrorIcon(this);"></a>
                <div class="fl ml10 appList_r">
                    <h4 class="appName"><a target="_blank" href="/ipad_index.php?act=app_info&id=<?php echo $v['ID'];?>"><?php echo $v['APP_TITLE'];?></a></h4>
                    <a class="kybtn simp_rk_kybtn" href="itms-services://?action=download-manifest&url=<?php echo $v['PLIST_URL']; ?>"></a>

                </div>
                <div class="clr"></div>
            </li>
        <?php if($k%4 == 3){?>
            <div class="clr"></div>
        <?php }
        }?>
        </ul>
        <div class="clr"></div>
        </div>
    <?php }?>
<div class="clr"></div>

<div class="page">
    <div class="pagination">
        <!-- First page link -->
        <span class="<?php if($_GET['pageID']==1){?>current <?php }?>prev" <?php if($_GET['pageID']>1){?> href="/ipad_index.php?act=search&words=<?php echo $_GET['words'];?>&pageID=1" <?php }?>>第一页</span>

        <!-- Previous page link -->
        <span class="<?php if($_GET['pageID']==1){?>current <?php }?>prev" <?php if($_GET['pageID']>1){?> href="/ipad_index.php?act=search&words=<?php echo $_GET['words'];?>&pageID=<?php echo ($_GET['pageID']-1);?>" <?php }?>>上一页</span>

        <?php foreach($page_arr as $v){?>
        <!-- Numbered page links -->
        <a <?php if($v==$_GET['pageID']){?> class="current" <?php }?> href="/ipad_index.php?act=search&words=<?php echo $_GET['words'];?>&pageID=<?php echo $v;?>"><?php echo $v;?></a>
        <?php }?>

        <!-- Next page link -->
        <a class="next" <?php if($_GET['pageID']<$app_list['pages']){?> href="/ipad_index.php?act=search&words=<?php echo $_GET['words'];?>&pageID=<?php echo ($_GET['pageID']+1);?>" <?php }?>>下一页</a>

        <!-- Last page link -->
        <a class="next" <?php if($_GET['pageID']<$app_list['pages']){?> href="/ipad_index.php?act=search&words=<?php echo $_GET['words'];?>&pageID=<?php echo $app_list_arr['pages'];?>" <?php }?>>最后一页</a>

    </div>
</div>
</div>

<div class="bottom">
    <div class="cetr">
        <div class="fl"><span class="fn14">爱助手 版权所有</span><br />
            IZHUSHOU.CN All Rights Reserved
            <br />
            沪ICP备13004666号-1 </div>
        <div class="fr">
            <ul class="conn_company">
                <li class="mail"><a style="display:block;" href="mailto:izhushou@163.com"><span></span>客服邮箱：izhushou@163.com</a></li>
                <li class="qq"><span></span>联系电话：021-54894966</li>
            </ul>
            　
        </div>
    </div>
</div>
    <script type="text/javascript">
            (function(){
                var _downTime_url,_startDown,_downTimer;
                $(".kybtn").livequery("click", function(){
                    _downTime_url=$(this).attr('data-historyurl');
                    $.ajax({
                        type: 'GET',
                        url: _downTime_url
                    });
                });
            })();
    </script>
</body>
</html>